#include "login_dlg.h"
#include "ui_login_dlg.h"

Login_Dlg::Login_Dlg(QWidget *parent)
    : QDialog(parent)
    , ui(new Ui::Login_Dlg)
{
    ui->setupUi(this);
}

Login_Dlg::~Login_Dlg()
{
    delete ui;
}

void Login_Dlg::on_btn_confirm_clicked()
{
    setResult(1);
    hide();
}


void Login_Dlg::on_btn_cancal_clicked()
{
    setResult(0);
    hide();
}

